package com.gaogao.java;

import java.util.Date;

public class DateTest {
    public static void main(String args[]){
        Date d1=new Date(2000);
        System.out.println(d1);
        System.out.println(d1.getTime());
        Date d2=new Date();
        System.out.println(d2);
        System.out.println(d2.getTime());
        System.out.println(d2.after(d1));
    }
}
